<h2 class="title-bar">Mein Konto: Adressbuch</h2>

<div class="form-box-wrapper" style="width:442px">
	<div class="form-box">

		<?php if($this->id > 0): ?>
			<h3>Adresse bearbeiten</h3>
			<?php $url = $this->urlThisPage(array('sherpa_addressbook' => array('action' => 'save', 'id' => $this->id)), null, false) ?>
		<?php else: ?>
			<h3>Adresse hinzuf&uuml;gen</h3>
			<?php $url = $this->urlThisPage(array('sherpa_addressbook' => array('action' => 'save')), null, false) ?>
		<?php endif; ?>

		<?php $this->form->setAction($url) ?>
		<?php $this->form->useDefaultDecorators() ?>
		<?php $this->form->getElement('btnCreateAddress')->setAttrib('src', 'sherpa/img/btn-speichern.gif') ?>
		<?php echo $this->form->render($this) ?>

	</div>
</div>
<p style="margin-top:7px"><a href="<?php echo $this->urlThisPage() ?>"><img src="sherpa/img/btn-zurueck.gif" alt="Zur&uuml;ck" /></a></p>